package com.tastyshop.domain;

public class PageHelper {
	private int start;
	private int stop;
	
	public PageHelper(int lines_per_page, int page){
		this.start = (page - 1) * lines_per_page + 1;
		this.stop = page * lines_per_page;
	}

	public int getStart() {
		return start;
	}

	public int getStop() {
		return stop;
	}
}
